
part of 'exercise_tools_cubit.dart';


/// Events must be immutable and implement the [Equatable] interface.
@immutable
abstract class ExerciseToolsEvent extends Equatable {}

/// Event that is dispatched when the Profile widget is first created.
class ExerciseToolsInitialEvent extends ExerciseToolsEvent {
  final Exercise exercise;

  ExerciseToolsInitialEvent({required this.exercise});
  @override
  List<Object?> get props => [];
}


/// Event that is dispatched when the User Profile is Null.
class GetExerciseToolsEvent extends ExerciseToolsEvent {
  @override
  List<Object?> get props => [];
}

/// Event that is dispatched when the User Profile is Null.
class SelectModeEvent extends ExerciseToolsEvent {
  final bool mode;
  final ToolModel? sport;
  SelectModeEvent({required this.mode,this.sport});
  @override
  List<Object?> get props => [mode];
}

/// Event that is dispatched when the User Profile is Null.
class AddToolToExerciseEvent extends ExerciseToolsEvent {
  final Exercise exercise;
  final ToolModel tool;
  AddToolToExerciseEvent({required this.exercise,required this.tool});
  @override
  List<Object?> get props => [tool,exercise];
}

/// Event that is dispatched when the User Profile is Null.
class SelectToolEvent extends ExerciseToolsEvent {
  final ToolModel tool;
  final bool isSelected;
  SelectToolEvent({required this.tool,required this.isSelected});
  @override
  List<Object?> get props => [];
}

/// Event that is dispatched when the User Profile is Null.
class DeleteToolsFromExerciseEvent extends ExerciseToolsEvent {
  final ToolModel? tool;
  DeleteToolsFromExerciseEvent({ this.tool});
  @override
  List<Object?> get props => [tool];
}
/// Event that is dispatched when the User Profile is Null.
class SelectAllToolsEvent extends ExerciseToolsEvent {
  SelectAllToolsEvent();
  @override
  List<Object?> get props => [];
}
/// Event that is dispatched when the User Profile is Null.
class UnSelectAllToolsEvent extends ExerciseToolsEvent {
  UnSelectAllToolsEvent();
  @override
  List<Object?> get props => [];
}
